<template>
  <div id="Barcode">
    <a href="/index.php?s=/shop/user/personal_center" class="back" >ㄑ</a>
    <tabbar>
      <tabbar-item link="/init/personal/userInfo">
        <img slot="icon" src="static/bottom/photo_hui.png">
        <img slot="icon-active" src="static/bottom/photo.png">
        <span slot="label">相册</span>
      </tabbar-item>
      <tabbar-item selected>
        <img slot="icon" src="static/bottom/code_hui.png">
        <img slot="icon-active" src="static/bottom/code.png">
        <span slot="label">扫描码</span>
      </tabbar-item>
      <tabbar-item  link="/gitem/service/write">
        <img slot="icon" src="static/bottom/shuru_hui.png">
        <img slot="icon-active" src="static/bottom/shuru.png">
        <span slot="label">手工录入</span>
      </tabbar-item>
    </tabbar>
  </div>
</template>

<script>
  import { Tabbar, TabbarItem } from 'vux'
  // import { sorts,sign } from '../../aes/make';
  // import { Decrypt} from '../../aes/aes';
  // import { getScheduleById } from '../../mock/api';
  export default {
    name: "barcode",
    components: {
      Tabbar,
      TabbarItem
    },
    data(){
      return{

      }
    },
    computed:{

    },
    mounted(){

    },
    methods: {
      itemFun(){
        // var so=sorts();
        // var uid=cookie.get('uid');
        // var access_token=cookie.get('access_token');
        // var json={
        //   custOrderId:this.id,
        //   requestType:0,
        //   sorts:so,
        //   uid:uid,
        //   access_token:access_token
        // }
        // var si=sign(json);
        // json['sign']=si;
        //
      }
    }
  }
</script>

<style lang="less" scoped>
  @blue:#1babe3;
  @green:#51ac33;
  .weui-bar__item_on .weui-tabbar__label span{
    color: #51ac33;
  }
  .back{
    display: inline-block;
    width: 25px;
    height: 25px;
    position: fixed;
    top:15px;
    left: 20px;
    font-size: 16px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 100%;
    color: #ffffff;
    text-align: center;
    line-height: 24px;
  }
</style>
